package com.zzyl.nursing.controller.member.service;


import com.zzyl.nursing.domain.AlertData;
import com.zzyl.nursing.dto.AlertDataDto;
import com.zzyl.nursing.dto.QueryHealthyDataDto;
import com.zzyl.nursing.vo.*;

import java.util.List;
import java.util.Map;

public interface MemberHealthyDataservice {

   /**
    * 查询健康数据
    */
   List<HealthyDataVo> queryServiceProperties(String iotId);
   /**
    * 按天统计查询指标数据
    */
   List<DeviceDataByDay> queryDeviceDataListByDay(String iotId, String functionId, Long startTime, Long endTime);

   /**
    * 查询家人列表
    */
   List<BindingElderInfoVo> selectBindingElderInfoVoList();

   /**
    * 获取已绑定老人列表
    */
   List<ElderMessageVo> selectElderMessageVoList();

   /**
    * 查询健康数据
    */
    HealthyMessageVo queryDeviceServiceProperties(String deviceName, String productKey);

    /**
    * 按周统计查询指标数据
    */
   List<DeviceDataByDay> queryDeviceDataListByWeek(String iotId, String functionId, Long startTime, Long endTime);

   /**
    * 分页查询预警数据
    */
   List<AlertData> pageQueryAlertData(AlertDataDto alertDataDto);
}
